package com.demo.base.exception;

import com.demo.base.bean.CommonStatus;

/**
 * 身份未认证异常
 * Created by ethan on 2017/1/14.
 */
public class UnauthorizedException extends FrameworkException {

    public UnauthorizedException() {
        super(CommonStatus.UNAUTHORIZED);
    }

    public UnauthorizedException(String message) {
        super(CommonStatus.UNAUTHORIZED, message);
    }

    public UnauthorizedException(Throwable cause) {
        super(CommonStatus.UNAUTHORIZED, cause);
    }

    public UnauthorizedException(String message, Throwable cause) {
        super(CommonStatus.UNAUTHORIZED, message, cause);
    }
}
